FromColorsRange(ElementValue,ScaleRange,Color[]) Method
Generates a SmartPalette based on the specified element value, element value range, and colors.
Syntax
Parameters
- ev
- Element value on which element coloring is based.
- sr
- ScaleRange that specifies the minimum and maximum range of the element value to include in the palette.
- colors
- Colors to base SmartColors on.
Return Value
A SmartPalette with generated smart colors.
Remarks
The resulting smartPalette will apply to all series and elements.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also